﻿<%@ Page Title="" Language="C#" MasterPageFile="~/RS.Master" AutoEventWireup="true"
    CodeBehind="Profile.aspx.cs" Inherits="RealState.W.Profile" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <section class="shadow-box clearfix">
						<div class="inner-box">
							<header class="entry-header">
								<h4 class="feature-title">Thông tin cá nhân</h4>
							</header>
							<table style="width:100%; margin-left:70px;border-collapse:separate;border-spacing:5px 5px;">
							<tr><td>Bạn là cá nhận hay doanh nghiệp</td><td>
							<asp:RadioButton ID="rdoUserType_1" runat="server" GroupName="rdoUserType" Text="Cá nhân"></asp:RadioButton>&nbsp;&nbsp;
							<asp:RadioButton ID="rdoUserType_2" runat="server" GroupName="rdoUserType" Text="Doanh nghiệp"></asp:RadioButton>
							</td></tr>
							<tr><td>Họ tên</td><td>
							<asp:UpdatePanel ID="UpdatePanel3" runat="server">
											<ContentTemplate>
							<asp:TextBox ID="txtFullname" runat="server"></asp:TextBox>
							 <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" SetFocusOnError="true" 
                                                    ErrorMessage="(*)Họ tên không được để trống" ControlToValidate="txtFullname"></asp:RequiredFieldValidator>
                                                    </ContentTemplate>
											</asp:UpdatePanel>
							</td></tr>
							<tr><td>Tên đăng nhập</td><td>
							<asp:TextBox ID="txtUserName" runat="server" ReadOnly="true"></asp:TextBox>
							</td></tr>
                                 <tr><td>Thành phố</td><td>
							<asp:UpdatePanel ID="UpdatePanel1" runat="server"><ContentTemplate>
							    <asp:DropDownList ID="drdCity" runat="server" 
                                        AutoPostBack="True" 
                                    onselectedindexchanged="drdCity_SelectedIndexChanged"></asp:DropDownList>
                                        </ContentTemplate>
                                    </asp:UpdatePanel>
                                    </td></tr>
							<tr><td>Quận huyện</td><td>
							<asp:UpdatePanel ID="UpdatePanel2" runat="server"><ContentTemplate>
							<asp:DropDownList ID="drdDistrict" runat="server"></asp:DropDownList>
							 </ContentTemplate>
                                    </asp:UpdatePanel>
							</td></tr>
							<tr><td>Số nhà / Tên đường</td><td><asp:TextBox ID="txtStreet" runat="server" Width="300px"></asp:TextBox></td></tr><tr><td>Số điện thoại</td><td><asp:TextBox ID="txtTel" runat="server"></asp:TextBox></td></tr><tr><td>Số di động</td><td><asp:TextBox ID="txtMobile" runat="server"></asp:TextBox></td></tr>
							<tr><td colspan="2" align="center"><asp:Button ID="Button1" runat="server" Text="Cập nhật" CssClass="small-button-a"
                                    onclick="Button1_Click"></asp:Button></td></tr>
							</table>
						</div>
    </section>
</asp:Content>
